package com.salfor.backstage.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName HelloController
 * @Description TODO:
 * @Author salfor
 * @Date 2021/07
 * Version 0.1
 **/
@Api(value = "Hello",tags = "初始化")
@RestController
public class HelloController {
    Logger logger = LoggerFactory.getLogger(getClass());

    @ApiOperation(value = "你好")
    @RequestMapping(value = "/hello",method = RequestMethod.GET)
    public String hello(){
        return "hello world";
    }
}
